package org.dashboard.service;

import com.github.pagehelper.PageInfo;
import org.dashboard.bean.AdPage;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface AdPageService {
    int deleteByPrimaryKey(Integer pageId);

    int insert(AdPage record);

    int insertSelective(AdPage record);

    AdPage selectByPrimaryKey(Integer pageId);

    int updateByPrimaryKeySelective(AdPage record);

    int updateByPrimaryKeyWithBLOBs(AdPage record);

    int updateByPrimaryKey(AdPage record);


    List<AdPage> selectAdPages();

    boolean deleteByPrimaryKeys(ArrayList<Integer> pageIds);

    PageInfo selectAdPagesPaged(String criteria, Integer pageNum, Integer pageSize);

}
